package com.esyoga.yoyoga.mapper;

import com.esyoga.yoyoga.pojo.TMoments;
import com.esyoga.yoyoga.pojo.TMomentsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TMomentsMapper {
    long countByExample(TMomentsExample example);

    int deleteByExample(TMomentsExample example);

    int deleteByPrimaryKey(Integer mId);

    int insert(TMoments record);

    int insertSelective(TMoments record);

    List<TMoments> selectByExample(TMomentsExample example);

    TMoments selectByPrimaryKey(Integer mId);

    int updateByExampleSelective(@Param("record") TMoments record, @Param("example") TMomentsExample example);

    int updateByExample(@Param("record") TMoments record, @Param("example") TMomentsExample example);

    int updateByPrimaryKeySelective(TMoments record);

    int updateByPrimaryKey(TMoments record);
}